/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.router.core.service.receipt;


import info.peigen.hotpot.business.router.core.service.base.AbstractRouterService;
import info.peigen.hotpot.business.router.facade.ReceiptFacade;
import info.peigen.hotpot.business.router.facade.order.payee.ReceiptOrder;
import info.peigen.hotpot.business.router.facade.result.receipt.ReceiptResult;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Component;


/**
 * <b>(PayeeService)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/9/1
 */
@Slf4j
@Component
public class ReceiptService extends AbstractRouterService implements ReceiptFacade {

    @Override
    public ReceiptResult receipt(ReceiptOrder order) {
        log.error("入账应由系统自动完成，而非直接调用接口完成，故这里没有实现，后续考虑增加通过审核的入账接口");
        ReceiptResult receiptResult = new ReceiptResult();
        receiptResult.setFail("入账应由系统自动完成，而非直接调用接口完成，故这里没有实现，后续考虑增加通过审核的入账接口");
        return receiptResult;
    }

}
